package com.hlbspringcloud.signature.annotation;

import java.lang.annotation.*;

/**
 * @Author huanglibin
 * @Project signature
 * @Description 指定哪些字段需要进行签名
 * @Date 2020-12-30-16-06-30
 * @Version 1.0
 */
@Target(ElementType.FIELD)
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface SignatureField {
    /**
     * 签名顺序
     * @return
     */
    int order() default 0;

    /**
     * 字段name自定义值
     * @return
     */
    String customName() default "";

    /**
     * 字段value自定义值
     * @return
     */
    String customValue() default "";
}
